#!/usr/bin/env bash
cd ../tools/mmaction2/tools/data
python build_rawframes.py ../../../../data/videos/ ../../../../data/rawframes/ --task rgb --level 2 --ext avi --use-opencv --new-short 0 --new-width 320 --new-height 240
#python build_rawframes.py ../../../../data/shuffled_videos/ ../../../../data/shuffled_rawframes/ --task rgb --level 2 --ext avi --use-opencv --new-short 0 --new-width 320 --new-height 240
#python build_rawframes.py ../../../../data/flow_videos/ ../../../../data/flows/ --task rgb --level 2 --ext avi --use-opencv --new-short 0 --new-width 320 --new-height 240
# python build_rawframes.py ../../../../data/shuffled_flow_videos/ ../../../../data/shuffled_flows/ --task rgb --level 2 --ext avi --use-opencv --new-short 0 --new-width 320 --new-height 240
cd ../../../../train